<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>analysis.VMAnalysis</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/androguard/">Androguard</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="analysis-module.html">Module&nbsp;analysis</a> ::
        Class&nbsp;VMAnalysis
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="analysis.VMAnalysis-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class VMAnalysis</h1><p class="nomargin-top"><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis">source&nbsp;code</a></span></p>
<p>This class analyses a class file or a dex file</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">_vm</span>,
        <span class="summary-sig-arg">code_analysis</span>=<span class="summary-sig-default">False</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_method" class="summary-sig-name">get_method</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>)</span><br />
      Return an analysis method</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_method">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_like_field"></a><span class="summary-sig-name">get_like_field</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_like_field">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_init_method"></a><span class="summary-sig-name">get_init_method</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_init_method">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_random_integer_value"></a><span class="summary-sig-name">get_random_integer_value</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>,
        <span class="summary-sig-arg">descriptor</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_random_integer_value">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#prev_free_block_offset" class="summary-sig-name">prev_free_block_offset</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>,
        <span class="summary-sig-arg">idx</span>=<span class="summary-sig-default">0</span>)</span><br />
      Find the previous offset where you can insert a block</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.prev_free_block_offset">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#random_free_block_offset" class="summary-sig-name">random_free_block_offset</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>)</span><br />
      Find a random offset where you can insert a block</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.random_free_block_offset">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#next_free_block_offset" class="summary-sig-name">next_free_block_offset</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>,
        <span class="summary-sig-arg">idx</span>=<span class="summary-sig-default">0</span>)</span><br />
      Find the next offset where you can insert a block</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.next_free_block_offset">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_tainted_variables" class="summary-sig-name">get_tainted_variables</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the tainted variables</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_variables">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_tainted_packages" class="summary-sig-name">get_tainted_packages</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the tainted packages</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_packages">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_tainted_field" class="summary-sig-name">get_tainted_field</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">class_name</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">descriptor</span>)</span><br />
      Return a specific tainted field</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_field">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_methods" class="summary-sig-name">get_methods</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return each analysis method</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_methods">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="analysis.VMAnalysis-class.html#get_method_signature" class="summary-sig-name">get_method_signature</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>,
        <span class="summary-sig-arg">grammar_type</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="summary-sig-arg">options</span>=<span class="summary-sig-default"><code class="variable-group">{</code><code class="variable-group">}</code></span>,
        <span class="summary-sig-arg">predef_sign</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span><br />
      Return a specific signature for a specific method</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_method_signature">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_op"></a><span class="summary-sig-name">get_op</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">op</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_op">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_ops"></a><span class="summary-sig-name">get_ops</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_ops">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">_vm</span>,
        <span class="sig-arg">code_analysis</span>=<span class="sig-default">False</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>_vm</code></strong> - a <a href="jvm.JVMFormat-class.html" class="link">JVMFormat</a> 
          or <code class="link">DalvikFormatVM</code></li>
        <li><strong class="pname"><code>code_analysis</code></strong> - True if you would like to do an advanced analyse of the code (e.g
          : to search free offset to insert codes</li>
        <li><strong class="pname"><code>_vm</code></strong> - a virtual machine object</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_method"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_method</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_method">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return an analysis method</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>method</code></strong> - a classical method object @rtype : <a 
          href="analysis.MethodAnalysis-class.html" 
          class="link">MethodAnalysis</a></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="prev_free_block_offset"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">prev_free_block_offset</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>,
        <span class="sig-arg">idx</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.prev_free_block_offset">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Find the previous offset where you can insert a block</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>method</code></strong> - a reference of a method object where you would like the offset</li>
        <li><strong class="pname"><code>idx</code></strong> - the index to start the research
          <p>@rtype : return -1 if an error occured, otherwise the 
          offset</p></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="random_free_block_offset"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">random_free_block_offset</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.random_free_block_offset">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Find a random offset where you can insert a block</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>method</code></strong> - a reference of method object or a string which represents a 
          regexp
          <p>@rtype : return -1 if an error occured, otherwise the 
          offset</p></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="next_free_block_offset"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">next_free_block_offset</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>,
        <span class="sig-arg">idx</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.next_free_block_offset">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Find the next offset where you can insert a block</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>method</code></strong> - a reference of a method object where you would like the offset</li>
        <li><strong class="pname"><code>idx</code></strong> - the index to start the research
          <p>@rtype : return -1 if an error occured, otherwise the 
          offset</p></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_tainted_variables"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_tainted_variables</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_variables">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the tainted variables</p>
  <p>@rtype : <a href="analysis.TaintedVariables-class.html" 
  class="link">TaintedVariables</a></p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_tainted_packages"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_tainted_packages</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_packages">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return the tainted packages</p>
  <p>@rtype : <a href="analysis.TaintedPackages-class.html" 
  class="link">TaintedPackages</a></p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_tainted_field"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_tainted_field</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">class_name</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">descriptor</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_tainted_field">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return a specific tainted field</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>class_name</code></strong> - the name of the class</li>
        <li><strong class="pname"><code>name</code></strong> - the name of the field</li>
        <li><strong class="pname"><code>descriptor</code></strong> - the descriptor of the field
          <p>@rtype : <a href="analysis.TaintedVariable-class.html" 
          class="link">TaintedVariable</a></p></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_methods"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_methods</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_methods">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return each analysis method</p>
  <p>@rtype : <a href="analysis.MethodAnalysis-class.html" 
  class="link">MethodAnalysis</a></p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="get_method_signature"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_method_signature</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>,
        <span class="sig-arg">grammar_type</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>,
        <span class="sig-arg">options</span>=<span class="sig-default"><code class="variable-group">{</code><code class="variable-group">}</code></span>,
        <span class="sig-arg">predef_sign</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="analysis-pysrc.html#VMAnalysis.get_method_signature">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return a specific signature for a specific method</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>method</code></strong> - a reference to method from a vm class</li>
        <li><strong class="pname"><code>grammar_type</code></strong> - the type of the signature</li>
        <li><strong class="pname"><code>options</code></strong> - the options of the signature</li>
        <li><strong class="pname"><code>predef_sign</code></strong> - used a predefined signature
          <p>@rtype : <a href="sign.Sign-class.html" 
          class="link">Sign</a></p></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/androguard/">Androguard</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed May 18 15:57:03 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
